// Copyright 2006 Mloofle Inc. All Rights Reserved.
// Developed via Cleanroom
import java.util.BitSet;

public interface Query {

  /**
   * Must return true if this query matches the specified bloom filter.
   * 
   * @param bloomFilter the bloom filter, must not be <code>null</code>
   * @return <code>true</code> if this query matches the bloom filter.
   */
  boolean matchesFilter(BitSet bloomFilter);

  boolean matchesLineText(String lineText, CharacterAnalyzer analyzer);
}
